package com.ihr360.excel.config;

import com.ihr360.excel.constants.ExcelDefaultConfig;
import com.ihr360.excel.specification.ColumnSpecification;

import java.util.List;
import java.util.Map;

public abstract class ExcelConfigurerAdapter implements ExcelConfigurer {


    protected String rowNumKey = ExcelDefaultConfig.COMMON_SPECIFICATION_ROWNUM;
    protected boolean showRowNum = false;
    protected List<List<String>> atLeastOneOrIgnoreRow;
    protected List<List<String>> headerColumnJudge;
    protected boolean enableMatchStaff = true;
    protected List<String> staffNameAlias;
    protected List<String> mobileNoAlias;
    protected List<ColumnSpecification> columnSpecifications;
    /**
     * 导入的类型 支持 javabean.class 或 Map.class
     */
    protected Class importType;

    /**
     * Map<String,List<String>>
     * importClazz为javaBean，且多语言策略为ExcelI18nStrategyType.EXCEL_I18N_STRATEGY_NONE时，
     * 必须提供importHeader，key用于同javabean的字段对应
     */
    protected Map<String, List<String>> importHeader;

    public ExcelConfigurerAdapter() {

    }

    public void setRowNumKey(String rowNumKey){

    }

    public void setShowRowNum(boolean showRowNum){

    }


    public void configureAtLeastOneOrIgnoreRow(List<List<String>> atLeastOneOrIgnoreRow){

    }


    public void configureHeaderColumnJudge(List<List<String>> headerColumnJudge){

    }


    public void enableMatchStaff(boolean enableMatchStaff){

    }


    public void configureStaffNameAlias(List<String> staffNameAlias){

    }


    public void configureMobileNoAlias(List<String> mobileNoAlias){

    }

    public void configureColumnSpecification(List<ColumnSpecification> columnSpecifications){

    }

    public void setImportType(Class type){

    }

    public void configureImportHeader(Map<String, List<String>> importHeader){

    }


}
